package com.common.help.test13;

import java.util.Date;

public class AuthorizeRecord {
    private Integer id;

    /**
     * 授权记录id
     */
    private String authorizeId;

    /**
     * 生成时间
     */
    private Date createTime;

    /**
     * 授权车场
     */
    private String parkingNo;

    /**
     * 授权车牌
     */
    private String license;

    /**
     * 授权日期 yyyy-MM-dd
     */
    private String authorizeTime;

    /**
     * 授权类型（当日有效1、单次有效2）
     */
    private Integer authorizeType;

    /**
     * 生成方式（人工添加1、业主申请2）
     */
    private Integer generateMode;

    /**
     * 操作人id
     */
    private String operateId;

    /**
     * 状态（待生效1、生效2、失效3）
     */
    private Integer status;

    /**
     * 失效标签（过期1、次数用尽2）
     */
    private Integer failLabel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAuthorizeId() {
        return authorizeId;
    }

    public void setAuthorizeId(String authorizeId) {
        this.authorizeId = authorizeId == null ? null : authorizeId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getParkingNo() {
        return parkingNo;
    }

    public void setParkingNo(String parkingNo) {
        this.parkingNo = parkingNo == null ? null : parkingNo.trim();
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license == null ? null : license.trim();
    }

    public String getAuthorizeTime() {
        return authorizeTime;
    }

    public void setAuthorizeTime(String authorizeTime) {
        this.authorizeTime = authorizeTime == null ? null : authorizeTime.trim();
    }

    public Integer getAuthorizeType() {
        return authorizeType;
    }

    public void setAuthorizeType(Integer authorizeType) {
        this.authorizeType = authorizeType;
    }

    public Integer getGenerateMode() {
        return generateMode;
    }

    public void setGenerateMode(Integer generateMode) {
        this.generateMode = generateMode;
    }

    public String getOperateId() {
        return operateId;
    }

    public void setOperateId(String operateId) {
        this.operateId = operateId == null ? null : operateId.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getFailLabel() {
        return failLabel;
    }

    public void setFailLabel(Integer failLabel) {
        this.failLabel = failLabel;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", authorizeId=").append(authorizeId);
        sb.append(", createTime=").append(createTime);
        sb.append(", parkingNo=").append(parkingNo);
        sb.append(", license=").append(license);
        sb.append(", authorizeTime=").append(authorizeTime);
        sb.append(", authorizeType=").append(authorizeType);
        sb.append(", generateMode=").append(generateMode);
        sb.append(", operateId=").append(operateId);
        sb.append(", status=").append(status);
        sb.append(", failLabel=").append(failLabel);
        sb.append("]");
        return sb.toString();
    }
}